package com.cn.ycy;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 用户ID
   */
  private Integer userId;

  /**
   * 用户名
   */
  private String username;

  /**
   * 创建时间
   */
  private Date addtime;

  @JsonProperty("Data")
  private String Data;

  @JsonProperty("OperatorID")
  private String OperatorID;

  @JsonProperty("TimeStamp")
  private String TimeStamp;

  @JsonProperty("Seq")
  private String Seq;

  @JsonProperty("Sig")
  private String Sig;

  public static long getSerialVersionUID() {
    return serialVersionUID;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public Date getAddtime() {
    return addtime;
  }

  public void setAddtime(Date addtime) {
    this.addtime = addtime;
  }

  public String getData() {
    return Data;
  }

  public void setData(String Data) {
    Data = Data;
  }

  public String getSig() {
    return Sig;
  }

  public void setSig(String sig) {
    Sig = sig;
  }

  public String getOperatorID() {
    return OperatorID;
  }

  public void setOperatorID(String operatorID) {
    OperatorID = operatorID;
  }

  public String getSeq() {
    return Seq;
  }

  public void setSeq(String seq) {
    Seq = seq;
  }

  public String getTimeStamp() {
    return TimeStamp;
  }

  public void setTimeStamp(String timeStamp) {
    TimeStamp = timeStamp;
  }

  @Override
  public String toString() {
    return "User{" +
            "userId=" + userId +
            ", username='" + username + '\'' +
            ", addtime=" + addtime +
            ", Data='" + Data + '\'' +
            ", OperatorID='" + OperatorID + '\'' +
            ", TimeStamp='" + TimeStamp + '\'' +
            ", Seq='" + Seq + '\'' +
            ", Sig='" + Sig + '\'' +
            '}';
  }
}
